{# Voice: two tabs, each its own URL (``?tab=``): Profiles, every voice profile and, opened, one profile's editor; and Models, every model and voice there is. Each tab's body is its own partial, ``_voice_.html``. #} {% from "components/macros/layout.html" import tab_bar, tab_item %} {% if tabs|length > 1 %} {% call tab_bar("Voice views", id="ai-voice-tabs") %} {% for t in tabs %}{{ tab_item(t.label, t.active, t.url, hx_replace(t.url, "#overseer-main")) }}{% endfor %} {% endcall %} {% endif %} {% include "pages/overseer/ai/_voice_" ~ tab ~ ".html" %}